package com.fowo.api.sms.model;

import com.fowo.api.common.validator.Phone;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
@Schema(title = "发送手机验证码")
public class SendPhoneCode {

    @Phone
    @NotEmpty
    @Schema(title = "手机号")
    private String phone;
}
